// 弹窗
.dialog-box {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;

  .box-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-sizing: border-box;
    border-radius: 8px;
    background-color: #444444;
    overflow: hidden;

    .content-header {
      width: 100%;
      height: 46px;
      display: flex;
      padding: 0 20px;
      box-sizing: border-box;
      font-family: "Microsoft YaHei UI";
      font-size: 18px;
      font-weight: 600;
      color: #333;
      background: #fff;
      align-items: center;
      justify-content: space-between;

      i {
        font-size: 16px;
        cursor: pointer;
      }
    }

    .content-body {
      .form-item-box {
        box-sizing: border-box;
        padding: 16px;
        border-bottom: 1px solid #666666;

        .item-title {
          margin-bottom: 16px;
          color: #fff;
          font-size: 16px;
          font-weight: 600;
        }

        .checkbox-span {
          margin-bottom: 10px;

          .el-checkbox__inner {
            border-color: #666666;
            background: #666666;
          }

          .el-checkbox__label {
            color: #fff
          }
        }

        .el-form-item:nth-last-child(1) {
          margin-bottom: 0
        }

        .grey-hover-primary-button {
          background: #555555;
          color: #fff;
          border-color: #555555;

          &:hover {
            background: #409EFF;
            border-color: #409EFF;
          }
        }

        .grey-hover-grey-button {
          background: #555555;
          color: #fff;
          border-color: #555555;

          &:hover {
            background: #666666;
            border-color: #666666;
          }
        }

        .active-button {
          background: #409EFF;
          border-color: #409EFF;
        }

        .el-form-item__content {
          display: flex;
          gap: 10px;
          align-items: center;

          .el-button {
            margin: 0
          }
        }
      }

      .el-form {
        .el-form-item {
          .el-form-item__label {
            color: #ffffff;
          }

          .el-form-item__content {
            &::before,
            &::after {
              display: none;
            }
          }
        }

        .el-input__inner {
          background: #1D1D1D;
          border-radius: 4px;
          border: 1px solid #555555;
          box-sizing: border-box;
          font-size: 13px;
          color: #ffffff;
        }

        .el-input-number {
          .el-input-number__decrease, .el-input-number__increase {
            border: none;
            background: transparent;
            color: #ffffff;
          }

          .is-disabled {
            color: rgba(255, 255, 255, 0.63);
          }
        }

        .submit-btn {
          display: flex;
          justify-content: flex-end;
          margin-bottom: 0;
        }

        .origin-title {
          display: flex;
          justify-content: center;
          align-items: center;
          padding: 10px 0;
          margin-top: 10px;
          box-sizing: border-box;
          font-size: 14px;
          color: #ffffff;
        }

        .position-box {
          display: flex;
          justify-content: space-between;
          align-content: center;

          .el-form-item {
            display: flex;
            align-items: center;
            margin-bottom: 18px;

            .el-form-item__content {
              margin-left: 0 !important;
            }
          }
        }
      }
    }
  }

  .journal-box {
    position: absolute;
    background: #444444;
    width: 100%;
    height: calc(100% - 100px);
    left: 0;
    top: 46px
  }

  .conver-log {
    color: #fff;
    box-sizing: border-box;
    padding: 0 10px;
    height: calc(100% - 40px);

    &::-webkit-scrollbar {
      width: 4px;
      height: 4px;
      background: transparent;
    }

    &::-webkit-scrollbar-thumb {
      background: transparent;
      border-radius: 4px;
    }

    &::-webkit-scrollbar-track {
      background: transparent;
    }

    &:hover::-webkit-scrollbar-thumb {
      background: hsla(0, 0%, 90%, 0.4);
    }

    &:hover::-webkit-scrollbar-track {
      background: transparent;
    }

    .log-box {
      width: 100%;
      height: 100%;
      overflow: hidden;
      overflow-y: scroll;

      &::-webkit-scrollbar {
        width: 4px;
        height: 4px;
        background: transparent;
      }

      &::-webkit-scrollbar-thumb {
        background: transparent;
        border-radius: 4px;
      }

      &::-webkit-scrollbar-track {
        background: transparent;
      }

      &:hover::-webkit-scrollbar-thumb {
        background: hsla(0, 0%, 90%, 0.4);
      }

      &:hover::-webkit-scrollbar-track {
        background: transparent;
      }
    }
  }
}

.beyond-txt {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
}

.form-center {
  .el-form-item__content {
    display: flex;
    align-items: center;
  }
}
